package com.sf.osms.dep.processor.util;

import java.util.ArrayList;
import java.util.List;

public class RouterConstants {
	
	
	public static final String AGENT_FILE_SUFFIX_CSV = "csv";
	public static final String AGENT_FILE_ENCODING = "utf-8";
	
	/**
	 * 代理文件默认使用标识符
	 */
	public static final String AGENT_FILE_USE_FLAG = "1";
	/**
	 * 默认文件列分隔符
	 */
	public static final String AGENT_FILE_COLUMN_SEPARTOR = ",";
	/**
	 * 代理文件默认数据启始行
	 */
	public static final Integer AGENT_FILE_DATA_LINE_NUM = 2;
	
	/**
	 * 本地下载文件存放路径前缀
	 */
	public static final String AGENT_FILE_LOCAL_PATH_PREFIX = "E:";
	
	/**
	 * 代理车标号默认生成格式(时间格式,特殊字符)
	 */
	public static final String AGENT_CARNO_TYPE = "yyMMdd,\\m\\s\\d";
	/**
	 * 处理代理错误文件的本地错误相对路径，相对于下载文件到本地的文件夹
	 */
	public static final String AGENT_LOCAL_ERROR_PATH = "error";
	/**
	 * 1M的字节数
	 */
	public static final long MB = 1024*1024;
	/**
	 * 处理成功文件的本地错误相对路径，相对于下载文件到本地的文件夹
	 */
	public static final String AGENT_LOCAL_SUCCESS_PATH = "success";
	
	/**
	 * 把枪默认上传类型,手动录入（1）或扫描录入（0） 
	 */
	public static final Long AGENT_BAR_UPLOAD_OPR_CODE = 1L;
	
	/**
	 * 把枪默认设备号，本应用名称
	 */
	public static final String AGEN_BAR_SN = "ASURA-OSMS-SERVER"; 
	
	/**
	 * 默认fvp接口地址
	 */
	public static final String FVP_ADDRESS = "http://10.202.33.66:10486/fvp-rcv/fvp/wsservice/wsRun/expressAddBarService?wsdl";
	
	/**
	 * 待发送的路由状态
	 */
	public static final int STATUS = 2;
	public static final String AGENT_FILE_SPLIT_NUM = "1";
	public static final String AGENT_FILE_MAP_RULE_NUM = "\\$";
	public static final String AGENT_EVENT_CODE_SOURCE_FIELD_PREFIX = "_";
	public static final String AGENT_BAR_DATE_HANDLE_ONE = "JP011";
	public static  List<String> AGENT_BAR_DATE_HANDLE_LIST = null;
	static {
		AGENT_BAR_DATE_HANDLE_LIST = new ArrayList<String>();
		
	}
	
	/**
	 * 前台数据测试用户标识
	 */
	public static final Integer AGENT_DATA_TEST_FLAG = 1;
	
	/**
	 * jp post原始网点
	 */
	public static final String JPPOST_NET_NUM_MAP_ONE = "10011487780000030000000001";
	
	public static final String JPPOST_NET_NUM_MAP_TWO = "10011487780000030000000102";
	public static final String AGENT_BAR_SN_FILE = "OSMS-DEP-FILE";
	
	/**
	 * 回单签名的其实状态
	 */
	public static final Integer POD_START_STATUS = 0;
	public static final String DEP_TO_WQS_NAME = "dep";
	public static final String DEP_TO_WQS_LANGUAGE = "1";
	public static final String DEP_TO_WQS_DATA_TYPE = "111111";
	public static final String DEP_IN_WQS_DATA_CODE = "1";
	public static final String WQS_ADDRESS = "http://10.202.18.53:8080/wqs-int/ws/waybillInfoService?wsdl";
	public static final String BSP_DEP_ADDRESS = "http://bsprpcs.intsit.sfdc.com.cn/bsp-rpcs/ws/ackbillService?wsdl";

	
	
	/**回单维护功能常量 start**/
	
	/**新增**/
	public static final String CHARGE_BASE_STATUS_NEW="1";
	public static final String CHARGE_BASE_STATUS_NEW_i18n="osms.wbs.dep.chargebase.statusNew";
	
	/**删除**/
	public static final String CHARGE_BASE_STATUS_DELETE="0";
	public static final String CHARGE_BASE_STATUS_DELETE_i18n="osms.wbs.dep.chargebase.statusDelete";
	
	/**到方付款**/
	public static final String CHARGE_BASE_PAYTYPE_RECEIVER="2";
	public static final String CHARGE_BASE_PAYTYPE_RECEIVER_i18n="osms.aps.order.receiver";
	
	/**第三方付款**/
	public static final String CHARGE_BASE_PAYTYPE_3RD="3";
	public static final String CHARGE_BASE_PAYTYPE_3RD_i18n="osms.aps.order.3rd.Party";
	
	
	//付款方式
	
	/**回单维护功能常量 end**/
	
	/**Handover 相关常量start**/
	
	public static final String HANDOVER_BAR_SN="ASURA-OSMS-HANDOVER";
	public static final String DEP_MAIL_TO = "sfhq1405@sf-express.com";
	public static final String DEP_MAIL_CC = "sfhq1746@sf-express.com";
	public static final Integer FVP_RESIGER_ROUTER_SUCCESS = 3;
	
	
	
	/**Handover 相关常量end**/
	
	

}
